#!/usr/bin/python
# -*- coding: utf-8 -*-

# Copyright (C) 2025 Huawei Technologies Co., Ltd. All rights reserved.

from ansible.module_utils.basic import AnsibleModule


ANSIBLE_METADATA = {'metadata_version': '1.1',
                    'status': ['preview'],
                    'supported_by': 'community'}

DOCUMENTATION = r'''
---
module: openubmc_ansible_show_version
short_description: Show openUBMC ansible modules version
version_added: "2.5.0"
description:
    - Show openUBMC ansible modules version
'''

EXAMPLES = r'''
- name: show openUBMC ansible modules version
  openubmc_ansible_show_version:
'''

RETURNS = r'''
    "msg": openUBMC ansible modules version is 2.0.6
'''


def main():
    module = AnsibleModule(
        argument_spec={},
        supports_check_mode=False)
    module.exit_json(msg="openUBMC ansible modules version is 2.0.6")


if __name__ == '__main__':
    main()
